package com.yuzhi.master.drainAlarmRule.domain.bo;

import com.yuzhi.common.annotation.DictFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import com.yuzhi.common.core.domain.BaseEntity;

import java.math.BigDecimal;

/**
 * 报警规则条件表业务对象
 *
 * @author
 * @date 2025-08-20
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class DrainAlarmConditionBo extends BaseEntity {

    private String ruleId;

    @DictFormat(defaultValue = "alarm_rule_type")
    private String monitorItemName;

    /**
     * 运算符 (前端传 LTE/GTE/EQ，后端再映射成 <=、>=、=)
     */
    private String operator;

    private BigDecimal threshold;

    private String relation;

    private Short itemConditionOrder;

    private Short sort;

    private BigDecimal fullLevel;

    private String pipeDiameter;
}
